package com.ruoyi.memo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 倒计时对象 countdown
 * 
 * @author ruoyi
 * @date 2025-06-19
 */
public class Countdown extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 倒计时ID */
    private Long id;

    /** 倒计时标题 */
    @Excel(name = "倒计时标题")
    private String title;

    /** 倒计时时间(HH:mm:ss) */
    @Excel(name = "倒计时时间(HH:mm:ss)")
    private String countdownTime;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 状态(进行中/已完成) */
    @Excel(name = "状态(进行中/已完成)")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCountdownTime(String countdownTime) 
    {
        this.countdownTime = countdownTime;
    }

    public String getCountdownTime() 
    {
        return countdownTime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("countdownTime", getCountdownTime())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
